import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import SearchBox from '@/components/SearchBox.vue';
import './assets/fonts/font.css'
import 'element-ui/lib/theme-chalk/index.css';
import './styles/element-ui-reset.scss'; 

import loadingDirective from "../src/components/directive";
import '@wangeditor/editor/dist/css/style.css'

Vue.config.productionTip = false

// 全局注册组件
Vue.component('SearchBox', SearchBox);

Vue.use(ElementUI);

// loading
Vue.directive("load", loadingDirective);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
